package lumis.portal.presentation.core;


import org.apache.wicket.protocol.http.IWebApplicationFactory;
import org.apache.wicket.protocol.http.WebApplication;
import org.apache.wicket.protocol.http.WicketFilter;

/**
 * The filter used to process layout file.
 *
 * @version $Revision: 13093 $ $Date: 2011-05-28 18:40:18 -0300 (Sat, 28 May 2011) $
 * @since 6.0.0
 */
public class LayoutFileFilter extends WicketFilter
{
	@Override
	protected IWebApplicationFactory getApplicationFactory()
	{
		return new IWebApplicationFactory()
		{
			public WebApplication createApplication(WicketFilter filter)
			{
				return new LayoutFileApplication();
			}
		};
	}
}